#pragma once

namespace TG
{
	class Rgba
	{
	public:
		unsigned char b = 0;
		unsigned char g = 0;
		unsigned char r = 0;
		unsigned char a = 0;

		Rgba() {}
		Rgba(unsigned char r, unsigned char g, unsigned char b, unsigned char a) :r(r), g(g), b(b), a(a) {}
	};

	Rgba colorLerp(const Rgba &c0, const Rgba &c1, float t);
}